corpApp.controller('controller',['$scope', 'upserve', 'ngDialog', function($scope, upserve, ngDialog){
	$scope.isTabActive = 0;
	
	$scope.item = {};
	$scope.closeReason = '';
	$scope.itemDetails = [];
	$scope.attachments = [];
	$scope.tracks = [];
	$scope.showTracks = [];
	$scope.getDetail = function(){
		$scope.item={
				"PlanCode":"01003",
				"PlanName":"第一批",
				"ProjectCode":"839201010",
				"ProjectName":"省道G001改建工程",
				"InTaxMoney":100,
				"OilTax":40000,
				"VehicleToll":20000,
				"VehiclePurchase":300000,
				"Raise":1000,
				"Loan":10000000,
				"SeftRaise":128329,
				"OtherMoney":69902
			}
	}
	
	$scope.getDetail();
}]);